﻿#region references
using System;
#endregion

namespace IcaGames.Objects
{
    /*
     * Class that holds all attributes of a Review Object.
     * 
     * @author
     * Rick Oonk
     * 
     * @version
     * 1.0
     * 
     * @update
     * 07-12-2009 by Rick Oonk.
     * Created Class and added attributes and standard functions. 
     */
    [Serializable]
    public class Review
    {
        #region private attributes
        private int gameNr;
        private int userId;
        private string text;
        private decimal cipher;
        private DateTime date;
        #endregion

        #region public attributes
        public int GameNr { get { return gameNr; } set { gameNr = value; } }
        public int UserId { get { return userId; } set { userId = value; } }
        public string Text { get { return text; } set { text = value; } }
        public decimal Cipher { get { return cipher; } set { cipher = value; } }
        public DateTime Date { get { return date; } set { date = value; } }
        #endregion
    }
}
